* {
    font-family: "Microsoft YaHei UI", consolas, serif;
}

.display-none {
    display: none;
}

.clear-float {
    clear: both;
}

.layui-input-radius {
    border-radius: 19px;
}

a.layui-btn {
    border-radius: 11px;
}

.layui-body {
    height: calc(100% - 60px);
}

.table-container {
    padding: 0 40px;
}

.title {
    padding: 15px;
    font-size: 15px;
    border-bottom: 1px solid #f2f2f2;
}

#search {
    width: 200px;
    display: inline-block;
}

/* --- 自定义模态框 --- */

.layout-background {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: #000;
    opacity: 0;
    z-index: 1000;
}

.layout-box {
    width: 500px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -200px 0 0 -250px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 20px #5d5d5d;
    opacity: 0;
    z-index: 1000;
}

.layout-header {
    padding: 15px;
    border-bottom: 1px solid #F2F2F2;
}

.layout-title {
    font-size: 15px;
    font-weight: bold;
}

.layout-close {
    display: block;
    float: right;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #000000;
    color: #ffffff;
    text-align: center;
    transform: rotate(45deg);
    font-size: 20px;
    line-height: 19px;
    cursor: pointer;
}

.layout-container {
    padding: 15px;
}

.layout-container .layui-form-item {
    margin-bottom: 5px;
}

.layout-container .layui-form-label {
    text-align: left;
}

.layout-container .layui-input-block {
    margin: 0;
}

.layout-container .layui-input {
    border-radius: 19px;
    padding-left: 15px;
}

.layout-footer {
    padding: 5px 0;
    text-align: center;
    border-top: 1px solid #f2f2f2;
}

/* --- --- */

/* --- 自定义双列模态框 --- */

#detail-provider-layout .layout-box,
#edit-good-layout .layout-box,
#detail-order-layout .layout-box {
    width: 800px;
    margin: 0 0 0 -400px;
}

#detail-provider-layout .detail-col,
#edit-good-layout .detail-col,
#detail-order-layout .detail-col {
    float: left;
    width: 50%;
}

#detail-provider-layout .layui-form-label,
#edit-provider-layout .layui-form-label,
#detail-order-layout .layui-form-label {
    width: auto;
}

#detail-provider-layout .layui-input-block,
#edit-provider-layout .layui-input-block,
#edit-good-layout .layui-input-block,
#detail-order-layout .layui-input-block {
    padding: 0 20px 0 0;
}

.layui-form-select .layui-edge {
    top: 75%;
}

.layui-form-select dl {
    top: 80px;
}

/* --- --- */